Skip to content

Instantly share code, notes, and snippets.

@JuniorDjjr
JuniorDjjr / fakeMainOutputFile.sc
Created November 11, 2021 17:39
SA main.scm source code leaked from GTA SA The Definitive Edition
This file has been truncated, but you can view the full file.
// *****************************************************************************************
// *****************************************************************************************
// *****************************************************************************************
// ****************************************PC SA Main Script********************************
// *****************************************************************************************
// *****************************************************************************************
// *****************************************************************************************
SCRIPT_NAME MAIN //NEW MAIN
@shawnyeager
shawnyeager / opencode-systemd-tailscale.md
Last active June 3, 2026 19:58
Run OpenCode as a persistent systemd service with Tailscale access

OpenCode Web Server Setup

Run OpenCode as a persistent background service, accessible from any device via Tailscale.

Why?

  • Access from anywhere — Start a task from your phone, check results from your laptop
  • Sessions persist — Close the browser, come back later, your session is still there
  • Multiple clients — Terminal TUI and browser can connect to the same session simultaneously
  • Survives crashes — systemd restarts the server automatically

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@andy0130tw
andy0130tw / kagi-mute-slop-results.css
Last active June 3, 2026 19:56
A minimal CSS snippet to make AI slop results appear faded
.theme_dark .search-result:has(.ai-stain-icon),
.theme_dark .search-result:has(.ai-stain-icon) + .sr-group {
--app-text: #403E3C80;
--search-result-url-link: #878580;
--result-item-title-border: #87858080;
--search-result-title: #87858080;
--search-result-content-text: #87858080;
}
.theme_dark .search-result .ai-stain-icon > svg {
Arrows
→ ← ↑ ↓ ↔ ↕ ⇒ ⇐ ⇄ ⇆ ↩ ↪ ⤴ ⤵ ➜ ➔ ▸ ◂ ▴ ▾ » « › ‹
Chevrons / triangles (toggles, menus)
▶ ▼ ◀ ▲ ▷ ▽ ◁ △ ⌃ ⌄ ⌅ ⌆ ⏵ ⏷
Status / check / cross
@eryabyshev
eryabyshev / docker_ubuntu_24_04.md
Created November 17, 2025 20:04
Установка Docker на Ubuntu 24.04

1. Обновляем систему

sudo apt update
sudo apt upgrade -y

2. Удаляем старые версии Docker (если были)

@melMass
melMass / osx.md
Last active June 3, 2026 19:54
OSX cheatsheet

Boot

Boot in recovery

sudo nvram "recovery-boot-mode=unused" && sudo reboot recovery

Boot in Internet Recovery

  • Shift +Option + Cmd + R equivalent:
    sudo nvram internet-recovery-mode=RecoveryModeNetwork
@t3tra-dev
t3tra-dev / clockm-nullptr-deref.c
Created June 2, 2026 13:10
Deterministic Kernel Panic (NULL Pointer Dereference) via Race Condition in IOTimeSyncClockManager
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <stdatomic.h>
#include <IOKit/IOKitLib.h>
#define NCALLERS 6
#define NCLOSERS 4